# ==============================================================================
# Build libpappradio and a simple testbed-application
# ==============================================================================

CMAKE_MINIMUM_REQUIRED(VERSION 2.6)

PROJECT( PAPPRADIO-TEST-BINARY )

# Setup a variable names SOURCES, which does contain all of our sources for this
# testbed-application...

SET( SOURCES    
     main.cpp )

# We would like to build the test-program, so tell cmake that we want to have
# a binary called 'testbed-app' which has to be build from the sources listed
# in the variable 'SOURCES' ...

ADD_EXECUTABLE( testbed-app 
                ${SOURCES} )

# Tell CMake that it should link the testbed-app to the 'pappradio'-library...

TARGET_LINK_LIBRARIES( testbed-app
                       pappradio )

